package org.sixtynine.stock.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "PAYMENT_CONFIG")
public class PaymentConfig extends BaseEntity {

	private int id;
	private String merchantName;
	private String description;
	private String merchantId;
	private String returnUrl;
	private String ipgUrl;
	private String instanceId;
	private String hashCode;
	private String crdType;
	private String ipgReturn;
	private float ipgRate;

	@Id
	@Column(name = "ID", unique = true, nullable = false)
	@GeneratedValue(strategy = GenerationType.AUTO)
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	@Column(name = "MERCHANT_NAME")
	public String getMerchantName() {
		return merchantName;
	}

	public void setMerchantName(String merchantName) {
		this.merchantName = merchantName;
	}

	@Column(name = "DESCRIPTION")
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Column(name = "MERCHANT_ID")
	public String getMerchantId() {
		return merchantId;
	}

	public void setMerchantId(String merchantId) {
		this.merchantId = merchantId;
	}

	@Column(name = "RETURN_URL")
	public String getReturnUrl() {
		return returnUrl;
	}

	public void setReturnUrl(String returnUrl) {
		this.returnUrl = returnUrl;
	}

	@Column(name = "IPG_URL")
	public String getIpgUrl() {
		return ipgUrl;
	}

	public void setIpgUrl(String ipgUrl) {
		this.ipgUrl = ipgUrl;
	}

	@Column(name = "INSTANCE_ID")
	public String getInstanceId() {
		return instanceId;
	}

	public void setInstanceId(String instanceId) {
		this.instanceId = instanceId;
	}

	@Column(name = "HASH_CODE")
	public String getHashCode() {
		return hashCode;
	}

	public void setHashCode(String hashCode) {
		this.hashCode = hashCode;
	}

	@Column(name = "CRD_TYPE")
	public String getCrdType() {
		return crdType;
	}

	public void setCrdType(String crdType) {
		this.crdType = crdType;
	}

	@Column(name = "IPG_RETURN")
	public String getIpgReturn() {
		return ipgReturn;
	}

	public void setIpgReturn(String ipgReturn) {
		this.ipgReturn = ipgReturn;
	}

	@Column(name = "IPG_RATE")
	public float getIpgRate() {
		return ipgRate;
	}

	public void setIpgRate(float ipgRate) {
		this.ipgRate = ipgRate;
	}

}
